﻿using System;
using Simp.CodeModel;

namespace Simp.GraphModel
{
	/// <summary>Exposes a package or a set of functions defined in this assembly.</summary>
	public static class GraphPackage
	{
		private static readonly IFunction[] _functionList = new IFunction[]
		{
			new PointFunction(),
			new PolarFunction(),
			new RotateFunction(),
			new LineFunction(),
			new PolylineFunction(),
			new RectangleFunction(),
			new ElementGroupFunction()
		};

		/// <summary>Returns the set of functions defined in this assembly.</summary>
		public static IFunction[] Package
		{
			get { return (IFunction[])_functionList.Clone(); }
		}
	}
}